import request from '@/utils/request'

// 查询歌手列表
export const getSongerList = params => request.get('/manage/songer-list', { params })
// 新增歌手
export const addSonger = params => request.post('/manage/add-songer', params)
// 编辑歌手
export const editSonger = params => request.post(`/manage/edit-songer/${params._id}`, params)
// 删除歌手
export const deleteSonger = songerNo => request.delete(`/manage/songer/${songerNo}`)
